import { useEffect } from "react";
import Taro, {
  useReady,
  useDidShow,
  useDidHide,
  usePullDownRefresh,
} from "@tarojs/taro";
import { Layout, Calendar } from "@/components";
import "./index.scss";

function Login() {
  // All React Hooks can be used
  useEffect(() => {});

  // onReady
  useReady(() => {});

  // onShow
  useDidShow(() => {});

  // onHide
  useDidHide(() => {});

  // Taro implements custom React Hooks for all mini program page lifecycles to support
  usePullDownRefresh(() => {});

  return (
    <Layout>
      <Calendar view={"week"} />
    </Layout>
  );
}

export default Login;
